package com.wxp.demo06.sqlite.entity;

import androidx.annotation.NonNull;

/**
 * 登录信息实体类
 */
public class LoginInfoEntity {

    /**
     * 数据id
     */
    public int id;
    /**
     * 手机号码
     */
    public String phone;
    /**
     * 密码
     */
    public String password;
    /**
     * 是否记住密码
     */
    public boolean remember = false;

    public LoginInfoEntity() {
    }


    public LoginInfoEntity(String phone, String password, boolean remember) {
        this.phone = phone;
        this.password = password;
        this.remember = remember;
    }

    @NonNull
    @Override
    public String toString() {
        return "LoginInfo{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", remember=" + remember +
                '}';
    }
}
